<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width">
    <title>JS Bin</title>
    <script src="http://lib.baomitu.com/chimee-player/1.2.2/chimee-player.browser.js"></script>
    <style>
        .time-ad cm-pp-close{
            display: none;
        }
        .time-ad cm-pp-body{
            padding: 0;
        }
        .time-ad chimee-popup{
            padding: 0;
        }
        .time-ad span{
            position: absolute;
            right: -7px;
            top: 10px;
            width: 60px;
            text-align: center;
            font-size: 20px;
            z-index: -1;
        }
    </style>
</head>
<body>

<section id="wrapper" class="chimee-container"></section>

<script>
    var aggdPlugin = ChimeePlayer.popupFactory({
        name: 'time-ad',
        className: 'time-ad',
        title: false,
        body: '<span>平凡鸟</span>',
        offset: '0px 10px auto auto',
        operable: false
    });
    ChimeePlayer.install(aggdPlugin);
    var config={
        wrapper: '#wrapper',
        src:'http://hao.czybjz.com/ppvod/AB800EDB64835903EDCA9CF38A6479D2.m3u8?=date'+new Date(),
        isLive: false,
        autoplay: false,
        controls: true,
        volume:0.5,
        plugin: [aggdPlugin.name]
    }


    if(/Android|webOS|iPhone|iPod|BlackBerry/i.test(navigator.userAgent)) {
        config.box='native';
    } else {
        config.box='hls';
    }
    new ChimeePlayer(config);

</script>
</body>
</html>
